<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";  
%>
<base href="<%=basePath%>" />
<c:set var="basePath" value="<%=basePath%>" scope="session" />

<script type="text/javascript" src="js/libs/jquery/jquery.js"></script>
<script type="text/javascript" src="js/libs/jquery/form/jquery.form.js"></script>
<script type="text/javascript" src="js/activity.js"></script>
<script type="text/javascript">
<!--
function  menue(n){
    try{        
        var url="";
        switch(n){
           case 0://什么都不做，用域临时占位
                alert("还未实现");
                break;
           case 11://应用管理
                url="/activity/activityDefinition/listApp";
                break;
           case 12://活动管理
                url="/activity/activityDefinition/";
                break;
           case 13://活动查询
                url="/activity";
                break;
           default:
                alert("未定义的操作：n="+n);
                return;
           }
           if(url != ""){
               window.location.href=url;
           }
    }catch(e){
        alert(e);
    }
}

//-->
</script>
<style type="text/css">
<!-- /* 全局CSS定义 */
.table {
	border: 1px solid #cccccc;
	border-collapse: collapse;
}

.table td {
	border: 1px solid #cccccc;
	padding: 0px 3px;
}

.readonly {
	border: 1px solid #cccccc;
	padding: 0px 3px;
	background-color: #dddddd;
}

/*菜单*/
.Fmenu {
	padding: 15px 15px 0 0
}

.Fmenu ul {
	list-style: none;
	margin: 0px;
}

.Fmenu ul li {
	float: left;
	margin: 0 6px
}

.Fmenu a {
	display: block;
	text-align: center;
	height: 20px;
}

.Fmenu li {
	float: left;
	width: 100px;
	background: #FFF;
	margin-left: 5px;
	line-height: 20px;
}

.Fmenu ul li a:link {
	color: #1E90FF;
	text-decoration: none
}

.Fmenu ul li a:visited {
	color: green;
	text-decoration: none;
}

.Fmenu ul li a:hover {
	color: #808080;
	background: #DCDCDC;
	text-decoration: underline;
}
-->
</style>

<div class="Fmenu">
	<ul>
		<li><a href="javascript:menue(11);">应用管理</a></li>
		<li><a href="javascript:menue(12);">活动管理</a></li>
		<li><a href="javascript:menue(13);">活动查询</a></li>
		<li><a href="javascript:menue(99);">未定义</a></li>
	</ul>
</div>
<hr />